* {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    box-sizing: border-box;
}

html,
body,
#app {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-width: 980px;
}

a {
    cursor: pointer;
}

.hr {
    background-color: #ebeef5;

    hr {
        border-width: 0;
        height: 1px;
    }
}

.class-a {
    color: #00f;
    border-color: #00f;
}

.class-b {
    color: #0c0;
    border-color: #0c0;
}

.class-c {
    color: #f00;
    border-color: #f00;
}

.el-button:focus {
    color: #606266;
    border-color: #dcdfe6;
    background-color: #fff;
}

.el-button:hover {
    color: #409eff;
    border-color: #c6e2ff;
    background-color: #ecf5ff;
}

.el-button--primary:focus {
    color: #fff;
    background: #409eff;
    border-color: #409eff;
}

.el-button--primary:hover {
    color: #fff;
    background: #66b1ff;
    border-color: #66b1ff;
}

.el-button--success:focus {
    color: #fff;
    background: #67c23a;
    border-color: #67c23a;
}

.el-button--success:hover {
    color: #fff;
    background: #85ce61;
    border-color: #85ce61;
}

.el-button--warning:focus {
    color: #fff;
    background: #cf9236;
    border-color: #cf9236;
}

.el-button--warning:hover {
    color: #fff;
    background: #ebb563;
    border-color: #ebb563;
}

.el-button--info:focus {
    color: #fff;
    background: #909399;
    border-color: #909399;
}

.el-button--info:hover {
    color: #fff;
    background: #a6a9ad;
    border-color: #a6a9ad;
}

.el-switch__core::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 100%;
    transition: all .3s;
    width: 16px;
    height: 16px;
    background-color: #fff;
}

.el-switch.is-checked .el-switch__core::after {
    left: 100%;
    margin-left: -17px;
}

.import {
    padding: 7px 15px;
    margin-left: 10px;
    border-radius: 6px 6px 3px 3px;
    color: #fff;
    background-color: #909399;
    text-decoration: none;
}

.toolbar {
    position: relative;
    min-height: 46px;
    margin: 10px 0;
    padding: 10px 10px 0;
    background: #f0f2f5;

    .el-input {
        width: 169px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .el-date-editor {
        margin-right: 0;
    }

    .el-date-editor + .el-date-editor {
        margin-right: 10px;
    }

    .el-button {
        margin-bottom: 10px;
    }

    .el-input--prefix .el-input__inner {
        height: 36px;
    }

    .gc-content-right {
        position: absolute;
        right: 10px;
        font-size: 14px;
        line-height: 14px;
        color: #999;
        bottom: 20px;
    }
}

.toolbar-edit {
    padding-bottom: 10px;
}

.table-bottom {
    border: 1px solid #e6ebf5;
    border-top: none;
    color: #5a5e66;
    text-align: center;
    height: 47px;
    line-height: 47px;
}

.el-table__header-wrapper th {
    background-color: #f5f7fa;
}

.el-switch {
    display: inline-block;
    position: relative;
    line-height: 20px;
    height: 20px;
    vertical-align: middle;
    top: -2px;
}

.ope-table-edit {
    a {
        font-size: 14px;
        color: #1a9efb;
        text-decoration: none;
        float: left;
        line-height: 20px;
    }

    span {
        float: left;
        display: block;
        width: 21px;
        height: 20px;
        position: relative;

        &::before {
            content: '';
            height: 10px;
            width: 1px;
            background-color: #e5e5e5;
            margin-top: 5px;
            margin-left: 10px;
            display: block;
        }
    }
}

.pagination {
    margin-top: 20px;

    .el-pagination {
        float: right;
    }

    &::after {
        display: block;
        content: ' ';
        clear: both;
    }
}

.custom-form .el-form-item__label {
    width: 120px;
}

#app {
    .form-error {
        color: red;
        display: block;
    }

    .el-textarea > .el-textarea__inner {
        // min-height: 150px !important;
    }

    .el-form-item > .el-form-item__content {
        // margin-left: 120px;
    }

    .el-dialog {
        width: 750px;
    }

    /* .el-table .cell {
        white-space: normal;
        word-break: break-all;
    } */
}
// .el-dialog{
//     width: 500px;
// }
.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.avatar-uploader .el-upload:hover {
    border-color: #409eff;
}

.avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
}

.avatar {
    width: 178px;
    height: 178px;
    display: block;
}

.ope-form {
    .el-input {
        width: 300px;
    }

    .input-w-169 .el-input {
        width: 169px;
    }

    .el-checkbox {
        margin-left: 0;
        padding-right: 20px;
    }

    .el-radio {
        line-height: 40px;
        margin-left: 0;
        padding-right: 20px;
    }
}

.gc-select-right {
    float: right;
    display: inline-block;
    width: 120px;
    text-align: right;
    color: #999;
    font-size: 14px;
}

.gc-search-text {
    height: 36px;
}

.custom-select {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;

    .el-loading-spinner {
        line-height: 42px;
    }

    //.el-input {
    //    margin: 0;
    //}
}

body .el-table .cell {
    overflow: auto;
    text-overflow: clip;
    white-space: normal;
    word-wrap: break-word;
}

body .el-table td {
    padding: 6px 0;
}
// 树形组件
.el-tree .el-tree-node__children .el-tree-node__children .el-checkbox .el-checkbox__inner {
    display: none;
}
